package com.my.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.my.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    IPage<User> getList(IPage<User> page, @Param("user") User user);

    List<String> randStudent(@Param("classId") Long classId, @Param("count") Integer count);

}
